package cn.ecms.service.impl.customerdynamicmanager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ecms.mapper.customerdynamicmanager.SalesAmountMapper;
import cn.ecms.pojo.SalesAmount;
import cn.ecms.service.customerdynamicmanager.SalesAmountService;

@Service
public class SalesAmountServiceImpl implements SalesAmountService {

	@Autowired
	private SalesAmountMapper salesAmountMapper;
	
	@Override
	public int deleteByPrimaryKey(String salesamountId) {
		return salesAmountMapper.deleteByPrimaryKey(salesamountId);
	}

	@Override
	public int insert(SalesAmount record) {
		return salesAmountMapper.insert(record);
	}

	@Override
	public int insertSelective(SalesAmount record) {
		return salesAmountMapper.insertSelective(record);
	}

	@Override
	public SalesAmount selectByPrimaryKey(String salesamountId) {
		return salesAmountMapper.selectByPrimaryKey(salesamountId);
	}

	@Override
	public int updateByPrimaryKeySelective(SalesAmount record) {
		return salesAmountMapper.updateByPrimaryKey(record);
	}

	@Override
	public int updateByPrimaryKeyWithBLOBs(SalesAmount record) {
		return salesAmountMapper.updateByPrimaryKeyWithBLOBs(record);
	}

	@Override
	public int updateByPrimaryKey(SalesAmount record) {
		return salesAmountMapper.updateByPrimaryKey(record);
	}

}
